package jgo.core;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import jgo.JGo;
import jgo.Plugin;

public class ServerPlugin extends Plugin {

//	private static final Logger logger = LoggerFactory.getLogger(ServerPlugin.class);

	public int port = 8080;

	public ServerPlugin() {
	}

	public ServerPlugin(int port) {
		this.port = port;
	}

	public void start(JGo jgo) {
		logger.info("Starting SimpleServerPlugin");
		// 启动服务器的代码
		// 默认实现，可以被子类覆盖
	}

	public void stop() {

	}


}